import { error } from "console";
import fs from "fs";
import process from "process";


fs.writeFile(process.cwd() + '/src/0020_文件/data.txt', '测试', 'utf-8', (error) => {
    if (error) {
        console.log('写入失败');

        return
    }
    console.log('文件写完了');

})

